package se.liu.oschi129.world.objects;

import se.liu.oschi129.animation.Animation;

/**
 * This class contains object that are static (non-movable).
 * 
 * @author oschi129
 */
public abstract class WorldStaticObject extends WorldObject {
	
	 /**
	 * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
	 * - - - - - - - - - - - - Constructors - - - - - - - - - - - 
	 * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
	 */
	
	public WorldStaticObject(Type type, Animation animation, boolean visible, double x, double y, double width, double height) {
		super(type, animation, visible, x, y, width, height);
	}	
	
	public WorldStaticObject(Type type, double x, double y, double width, double height) {
		super(type, x, y, width, height);
	}
	
	public WorldStaticObject(double x, double y, double width, double height) {
		super(x, y, width, height);
	}
	
	 /**
	 * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
	 * - - - - - - - - - - Public methods - - - - - - - - - - - 
	 * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
	 */
	
	/** Returns true if the object is movable, otherwise false */
    @Override public boolean isMovable() {
    	return false;
    }
}
